package com.xxxx.seckill.exception;


import com.xxxx.seckill.vo.RespBeanEnum;

/**
 * <p>
 * 全局异常
 * </p>
 *
 * @author heyanfeng
 * @since 2022-08-01
 */
public class GlobalException extends RuntimeException {

    private RespBeanEnum respBeanEnum;

    public RespBeanEnum getRespBeanEnum() {
        return respBeanEnum;
    }

    public void setRespBeanEnum(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }

    public GlobalException(RespBeanEnum respBeanEnum) {
        this.respBeanEnum = respBeanEnum;
    }
}
